<ul class="layui-nav layui-nav-tree" lay-shrink="all" id="LAY-system-side-menu" lay-filter="layadmin-system-side-menu">
    <li data-name="home" class="layui-nav-item ">
        <a href="javascript:;" lay-tips="控制台" lay-direction="2">
            <i class="layui-icon layui-icon-home"></i>
            <cite>控制台</cite>
            <span class="layui-nav-more"></span></a>
        <dl class="layui-nav-child">

            <dd data-name="console">
                <a lay-href="home/homepage1.html">主页一</a>
            </dd>

        </dl>
    </li>
    @foreach(admin_menu() as $menu)
   <li data-name="template" class="layui-nav-item">
        <a href="javascript:;" lay-tips="页面" lay-direction="2">
            <i class="layui-icon layui-icon-template"></i>
            <cite>{{$menu['title']}}</cite>
            <span class="layui-nav-more"></span></a>
       @foreach($menu['child'] as $val)
        <dl class="layui-nav-child">
            <dd>
                <a href="{{get_real_url($val['uri'])}}">{{$val['title']}}</a>
            </dd>
        </dl>
       @endforeach
   </li>
    @endforeach

</ul>
